package com.scproject.scbef.mapper;

import com.scproject.scbef.pojo.ImgRelation;
import com.scproject.scbef.pojo.ImgRelationExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface ImgRelationMapper {
    long countByExample(ImgRelationExample example);

    int deleteByExample(ImgRelationExample example);

    int deleteByPrimaryKey(String id);

    int insert(ImgRelation record);

    int insertSelective(ImgRelation record);

    List<ImgRelation> selectByExample(ImgRelationExample example);

    ImgRelation selectByPrimaryKey(String id);

    int updateByExampleSelective(@Param("record") ImgRelation record, @Param("example") ImgRelationExample example);

    int updateByExample(@Param("record") ImgRelation record, @Param("example") ImgRelationExample example);

    int updateByPrimaryKeySelective(ImgRelation record);

    int updateByPrimaryKey(ImgRelation record);

    int deleteByRelationId(@Param("id") String id,@Param("type") String type);

    ImgRelation selectByRelationId(String id);

}